<template>
  <div>
<van-nav-bar
  title="房屋管理"
  left-arrow
  @click-left="$router.push('/user')"
/>
    <van-empty
      class="custom-image"
      image="http://liufusong.top:8080/img/not-found.png"
      v-if="!isRent"
    >
      <template #description>
        <p>
          您还没有房源，
          <router-link to="/rent" class="add">去发布房源</router-link>
          吧
        </p>
      </template>
    </van-empty>

   </div>
</template>

<script>
export default {
  data () {
    return {}
  }
}
</script>

<style scoped lang="less">
.van-nav-bar {
  background-color: #21b97a;
}
/deep/ .van-ellipsis {
  color: #fff;
}
/deep/ .van-nav-bar .van-icon {
  color: #fff;
}
/deep/ .van-empty__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  img {
    width: 150px;
    height: 90px;
    margin: 30px 0;
  }
}
.add {
  color: #33be85;
}

</style>
